class PesquisaController < ApplicationController

  def pesquisar
    require 'pp'
    pp params['texto']
    #total_results, conteudos = Conteudo.find_id_by_contents(params['texto'])
    @conteudos = Conteudo.find_by_contents(params['texto'])
    puts('Pesquisado:-----------')
    #pp total_results
    #pp conteudos
  end

end